#include <cocos\2d\CCSprite.h>

namespace cocos2d
{
	class SpriteBlur:public Sprite
	{
	public:
		~SpriteBlur();
		bool initWithTexture(Texture2D* texture, const Rect& rect);
		void initGLProgram();
		static SpriteBlur* create(const char* pszFileName);
		void setBlurRadius(float radius);
		void getBlurSampleNum(float num);

	protected:
		float _blurRadius;
		float _blurSampleNum;
	};
};